#import time
#import dailyspents.util as util
#import os
#from os.path import join
<html>

#include join(util.HTMLPATH, 'common', 'head.html')

<body>
	<div id="site">
		#include join(util.HTMLPATH, 'common', 'top.html')
		#include join(util.HTMLPATH, 'common', 'menu.html')
		<div id="content">
		  <!-------------------- LEFT SIDE ------------------------->
		  <div id="left">
		    <div class="tl"><div class="tr">
			    import CSV
			</div></div>
			
			#include join(util.HTMLPATH, 'common', 'errorMessages.html')
			
			#import cherrypy
            #import time
            <!---------------------- IMPORT CSV FORM -------------------------->
            <div class="newSpentForm">
            	<form name="newForm" action="/spent/postCSVFile" 
            			method="post" enctype="multipart/form-data">
            		<table>
            		<tr>
            		<td><label for="categoryId">csv file</label></td>
            		<td>
            		<input type="file" size="25" name="csvFile"/>
            		</td>
            		</tr>
            		</table>
            		<table>
            		<hr/>
            		<tr>
            		<td><input type="submit" value="Go"/></td>
            		<td>
            		<input type="reset" value="clear"/>
            		</td>
            		</tr>
            		</table>
            	</form>
            </div>
            <!-- END OF NEW SPENT FORM -->
		  </div>
		  <!-- END OF LEFTSIDE -->
		  <!-- RIGHTSIDE -->
		  <div id="right">
				
			  	#include join(util.HTMLPATH, 'common', 'categories.html')
				#include join(util.HTMLPATH, 'common', 'locals.html')
				#include join(util.HTMLPATH, 'common', 'payments.html')
				
		  </div>
		</div>
		#include join(util.HTMLPATH, 'common', 'bottom.html')
	</div>
</body>

</html>
